<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/webpage/include/taglib.jsp"%>
<html>
<head>
	<title>到账记录表管理</title>
	<meta http-equiv="Content-type" content="text/html; charset=utf-8">
	<meta name="decorator" content="ani"/>
	<%@ include file="/webpage/include/bootstraptable.jsp"%>
	<%@include file="/webpage/include/treeview.jsp" %>
	<%@include file="writeOffList.js" %>
</head>
<body>
	<div class="wrapper wrapper-content">
	<div class="panel panel-primary">
	<div class="panel-heading">
		<h3 class="panel-title">到账记录表列表</h3>
	</div>
	<div class="panel-body">
		<sys:message content="${message}"/>
	
	<!-- 搜索 -->

		<div class="accordion-inner">
			<form:form id="searchForm" modelAttribute="writeOff" class="form form-horizontal well clearfix">
				<div class="col-xs-6 col-sm-3 col-md-2">
					<label class="label-item single-overflow pull-left" title="项目名称：">起始日期：</label>
					<div class="col-xs-12">
						<div class='input-group form_datetime' id='date'>
							<input type='text'  id="min" class="form-control "/>
							<span class="input-group-addon">
			                        <span class="glyphicon glyphicon-calendar"></span>
			                    </span>
						</div>
					</div>
				</div>
				<div class="col-xs-6 col-sm-3 col-md-2">
					<label class="label-item single-overflow pull-left" title="项目名称：">截止日期：</label>
					<div class="col-xs-12">
						<div class='input-group form_datetime' id='date1'>
							<input type='text'  id="max" class="form-control "/>
							<span class="input-group-addon">
			                        <span class="glyphicon glyphicon-calendar"></span>
			                    </span>
						</div>
					</div>
				</div>
				<shiro:hasPermission name="fee:receivable:pro">
					<div class="col-xs-6 col-sm-3 col-md-2">
						<label class="label-item single-overflow pull-left" title="：">项目：</label>
						<select id="pro" class=" form-control">
							<option value="">请选择</option>
							<option value="武汉润滑油仓储项目">武汉润滑油仓储项目</option>
							<option value="北京润滑油运输项目">北京润滑油运输项目</option>
							<option value="天津润滑油运输项目">天津润滑油运输项目</option>
							<option value="西安润滑油仓储配送项目">西安润滑油仓储配送项目</option>
							<option value="郑州润滑油运输项目">郑州润滑油运输项目</option>
							<option value="重庆润滑油仓储配送项目">重庆润滑油仓储配送项目	</option>
							<option value="石家庄润滑油仓储配送项目">石家庄润滑油仓储配送项目</option>
						</select>
					</div>
				</shiro:hasPermission>
			 <div class="col-xs-12 col-sm-6 col-md-4">
				<label class="label-item single-overflow pull-left" title="类别：">类别：</label>
				 <select class="form-control " name="type">
					 <option value="">请选择</option>
					 <option  value="运输">运输</option>
					 <option  value="仓租">仓租</option>
					 <option  value="装卸">装卸</option>

				 </select>			</div>
		 <div class="col-xs-12 col-sm-6 col-md-4">
			<div style="margin-top:26px">
			  <a  id="search"  onclick="cx()" class="btn btn-primary btn-rounded  btn-bordered btn-sm"><i class="fa fa-search"></i> 查询</a>
			 </div>
	    </div>	
	</form:form>
	</div>

		<table id="writeOffTable" class="table text-nowrap"  data-toolbar="#toolbar">
			<thead>
			<tr>
				<th>到账金额</th>
				<th id="dz"></th>
				<th>核销金额</th>
				<th id="hx"></th>
				<th>剩余金额</th>
				<th id="sy"></th>
			</tr>
			</thead>
		</table>

	<!-- 表格 -->
	<table id="writeOffTable" class="table text-nowrap"  data-toolbar="#toolbar">
		<thead>
		<tr>
			<th>项目</th>
			<th>时间</th>
			<th>类别</th>
			<th>受票方</th>
			<th>发票号</th>
			<th>到账金额</th>
			<th>核销金额</th>
			<th>剩余金额</th>
			<th>备注</th>
		</tr>
		</thead>
		<tbody id="detil"></tbody>
	</table>

    <!-- context menu -->

	</div>
	</div>
	</div>
</body>
</html>